﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cspl.Calculator.Lab;
using Cspl.Calculator.Lab.Model;

namespace Cspl.Calculator.Main
{
    public class Program
    {
        public static void Main(string[] args)
        {
            MainCalculator calculator = new MainCalculator();
            CalModel data1 = new CalModel();
            CalModel data2 = new CalModel("Div");

            data1.IntegerValue1 = 20;
            data1.IntegerValue2 = 14;
            data1.Operation = CalOperation.Mul;
            
            calculator.Data = data1;

            int result = calculator.Calculate();
        }
    }
}
